This site is built library CakePHP "Inflector" test site.
※ This site is using the CakePHP 2.7.5.
Enter the text you want to convert, "Send" button please.
The result of running Inflector
Inflector::pluralize | Registration Statuses |
---|---|
Inflector::singularize | Registration Status |
Inflector::camelize | RegistrationStatus |
Inflector::underscore | registration status |
Inflector::humanize | Registration Status |
Inflector::tableize | registration statuses |
Inflector::classify | RegistrationStatus |
Inflector::variable | registrationStatus |
Inflector::slug | Registration_Status |
CakePHP Conventions
model | ||
---|---|---|
Model Name | RegistrationStatus | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)); |
Model's FileName | RegistrationStatus.php | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)).'.php'; |
Table Name | registration statuses | underscored,lower,plural Inflector::tableize($word); |
controller | ||
---|---|---|
Controller Name | RegistrationStatuses | UpperCamelCase,plural Inflector::pluralize(Inflector::classify($word)); |
Controller's ClassName | RegistrationStatusesController | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller'; |
Controller's FileName | RegistrationStatusesController.php | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller.php'; |
for uses | RegistrationStatus | Model Name Inflector::singularize(Inflector::classify($word)); |
view | ||
---|---|---|
View Folder | RegistrationStatuses | Controller Name Inflector::pluralize(Inflector::classify($word)); |
View's FileName | registration status.php | Action Name Inflector::underscore($word).'.php'; |